<extend name="Public/layout"/>
<block name="head">
    <link rel="stylesheet" href="__PUBLIC__css/unbind-bankcard.css">
<style type="text/css">
.footer{
    display: none;
}
</style>

</block>
<block name="main">
    <ul class="list-wrapper" style="margin-top: 0.5rem">
        <li class="list-item">
            <div class="left">
                <span>姓名</span>
            </div>
            <div class="right">
                <span class="color-333">{$user_info.realname_m}</span>
            </div>
        </li>
        <li class="list-item">
            <div class="left">
                <span>身份证号码</span>
            </div>
            <div class="right">
                <span class="color-333">{$user_info.idcard_m}</span>
            </div>
        </li>
      <!--   <li class="list-item">
            <div class="left">
                <span>银行名称</span>
            </div>
            <div class="right">
                <span class="color-333">工商银行</span>
            </div>
        </li> -->
        <li class="list-item">
            <div class="left">
                <span>银行卡号</span>
            </div>
            <div class="right">
                <span class="color-333">{$user_info.bank_card_m}</span>
            </div>
        </li>
    </ul>
    <div class="btn-wrapper">
        <a href="/Home/Person/unbind_bank_first">解绑</a>
    </div>
</block>
 <block name="js">
 <script type="text/javascript">
 // //解绑银行卡
 //        function upbind_bank() {
 //            var bank_idcard = '{$user_info_bank_card}';
 //            var bank_ver = '{$user_info_bank_card}';
 //            $.post('{:U("User/upbind_bank")}', {
 //                bank_idcard: bank_idcard,
 //                bank_ver: bank_ver
 //            }, function (res) {
 //                if (res.err == 0) {
 //                    layer.msg(res.msg, {
 //                        time: 800
 //                    }, function () {
 //                        location.reload()
 //                    });
 //                } else {
 //                    layer.msg(res.msg);
 //                }
 //            });
 //        }

 </script>
 </block>